package com.xlhj.yucloud.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: liucaijing
 * @description: SysRoleMenu
 * @date: 2021/9/9 21:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysRoleMenu implements Serializable {

    private static final long serialVersionUID = -1663703886840946415L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 菜单ID
     */
    private Long menuId;
}
